package br.com.SRP.Modelo;
import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;


/**
 * The persistent class for the ckl02Acao database table.
 * 
 */
@Entity
@Table(name="ckl01ParametroCheckList")
public class Ckl01ParametroCheckList implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	@Column(name="codigo")
	@GeneratedValue(strategy=GenerationType.IDENTITY)
	private int codigo;

	private String status;
	
	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	@Temporal(TemporalType.TIMESTAMP)
	private java.util.Calendar data;
		
	//bi-directional many-to-one association to Eqp02Tipo
    @ManyToOne(fetch = FetchType.EAGER)
    @JoinColumn(name = "usuario", referencedColumnName = "codigo")
	private Sis01Usuario sis01Usuario;
    
  
	//bi-directional many-to-one association to Eqp02Tipo
    @ManyToOne(fetch = FetchType.EAGER)
    @JoinColumn(name = "acao", referencedColumnName = "codigo")
	private Ckl02Acao ckl02Acao;
    
  //bi-directional many-to-one association to Eqp02Tipo
    @ManyToOne(fetch = FetchType.EAGER)
    @JoinColumn(name = "ocorrencia", referencedColumnName = "codigo")
	private Ckl03Ocorrencia ckl03Ocorrencia;
    
  //bi-directional many-to-one association to Eqp02Tipo
    @ManyToOne(fetch = FetchType.EAGER)
    @JoinColumn(name = "item", referencedColumnName = "codigo")
	private Ckl04Item ckl04Item;
    
  //bi-directional many-to-one association to Eqp02Tipo
    @ManyToOne(fetch = FetchType.EAGER)
    @JoinColumn(name = "tipoCkl", referencedColumnName = "codigo")
	private Ckl05TipoCheckList ckl05TipoCheckList;
    
  //bi-directional many-to-one association to Eqp02Tipo
    @ManyToOne(fetch = FetchType.EAGER)
    @JoinColumn(name = "equipamento", referencedColumnName = "codigo")
	private Eqp01Equipamento eqp01Equipamento;

    public Ckl01ParametroCheckList() {
    }

   
	public int getCodigo() {
		return this.codigo;
	}

	public void setCodigo(int codigo) {
		this.codigo = codigo;
	}
	public java.util.Calendar getData() {
		return this.data;
	}

	public void setData(java.util.Calendar data) {
		this.data = data;
	}
	public Sis01Usuario getSis01Usuario() {
		return this.sis01Usuario;
	}

	public void setSis01Usuario(Sis01Usuario sis01Usuario) {
		this.sis01Usuario = sis01Usuario;
	}
	public Ckl02Acao getCkl02Acao() {
		return this.ckl02Acao;
	}

	public void setCkl02Acao(Ckl02Acao ckl02Acao) {
		this.ckl02Acao = ckl02Acao;
	}

	public Ckl03Ocorrencia getCkl03Ocorrencia() {
		return this.ckl03Ocorrencia;
	}

	public void setCkl03Ocorrencia(Ckl03Ocorrencia ckl03Ocorrencia) {
		this.ckl03Ocorrencia = ckl03Ocorrencia;
	}

	public Ckl04Item getCkl04Item() {
		return this.ckl04Item;
	}

	public void setCkl04Item(Ckl04Item ckl04Item) {
		this.ckl04Item = ckl04Item;
	}

	public Ckl05TipoCheckList getCkl05TipoCheckList() {
		return this.ckl05TipoCheckList;
	}

	public void setCkl05TipoCheckList(Ckl05TipoCheckList ckl05TipoCheckList) {
		this.ckl05TipoCheckList = ckl05TipoCheckList;
	}

	public Eqp01Equipamento getEqp01Equipamento() {
		return this.eqp01Equipamento;
	}

	public void setEqp01Equipamento(Eqp01Equipamento eqp01Equipamento) {
		this.eqp01Equipamento = eqp01Equipamento;
	}


}